import { createApp } from 'vue'
import App from './App.vue'
import './assets/base.css'
import './assets/global.css'
import 'amfe-flexible'
import router from './router/index'
import store from './store'
import { Button, Icon, Search, Swipe, SwipeItem, Toast, Popup, Dialog, Form, Field, CellGroup, Cell, Switch, Stepper } from 'vant';
const app = createApp(App)

app.use(router)
   .use(store)
   .use(Button)
   .use(Icon)
   .use(Search)
   .use(Swipe)
   .use(SwipeItem)
   .use(Toast)
   .use(Popup)
   .use(Dialog)
   .use(Form)
   .use(Field)
   .use(CellGroup)
   .use(Cell)
   .use(Switch)
   .use(Stepper)
   .mount('#app')
